package top.infopub.mgr.ic.service;

import java.util.List;

import com.github.pagehelper.Page;

import top.infopub.mgr.ic.domain.DesignExamDomain;
import top.infopub.mgr.ic.vo.DesignExamVo;
import top.infopub.model.ic.DesignExam;
import top.infopub.model.ic.DesignExamAtt;
import top.infopub.generic.GenericService;

public interface DesignExamService extends GenericService<DesignExam, String> {
 
    /**
     * 根据条件查询设计方案审批分页数据
     * @param designExamVo
     * @return 
     * @see
     */
    Page<DesignExamDomain> selectByDomainWhere(Page<DesignExamDomain> page,DesignExamVo designExamVo);

    /**
     * 根据条件查询-我审批的设计方案审批分页数据
     * @param designExamVo
     * @return 
     * @see
     */
    Page<DesignExamDomain> selectMyCheckByDomainWhere(Page<DesignExamDomain> page,DesignExamVo designExamVo);

    /**
     * 新增
     */
    void saveDesignExam(DesignExam designExam,List<DesignExamAtt> designExamAtts);

    /**
     * 详情
     */
    DesignExamVo queryById(String id);
    
}